package com.elink.enginerring.video.dao;

import java.util.List;

import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;

import com.elink.enginerring.common.BaseCo;
import com.elink.enginerring.video.entity.PlannHier;

public interface PlannHierMapper {
    int deleteByPrimaryKey(Integer hierId);

    int insert(PlannHier record);

    int insertSelective(PlannHier record);

    PlannHier selectByPrimaryKey(Integer hierId);

    int updateByPrimaryKeySelective(PlannHier record);

    int updateByPrimaryKey(PlannHier record);

	List<PlannHier> selectList(@Param("co")BaseCo co);

	int selectCount(@Param("co")BaseCo co);

	@Delete("delete  from plann_hier where find_in_set(hier_id,#{ids})")
	void del(@Param("ids")String ids);
}